/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="PACIENTELAUDOS")
public class PacienteLaudosProteu implements Serializable{

    @Id
    @Column(name="PCL_ST_CODIGO")
    private String pclStCodigo;
    @Column(name="AGD_ST_CODIGO")
    private String agdStCodigo;
    @Column(name="PAC_ST_RG")
    private String pacStRG;//foreign key?????????????????
    @Column(name="PROC_ST_CODIGO_AMB")
    private String procStCodigoAmb;
    @Column(name="MED_ST_CODIGO")
    private String medStCodigo;
    @Column(name="TEX_ST_CODIGO")
    private String texStCodigo;
    @Column(name="TEX_BL_DESCRICAO")
    private String texBlDescricao;//blob


    public String getAgdStCodigo() {
        return agdStCodigo;
    }

    public void setAgdStCodigo(String agdStCodigo) {
        this.agdStCodigo = agdStCodigo;
    }

    public String getMedStCodigo() {
        return medStCodigo;
    }

    public void setMedStCodigo(String medStCodigo) {
        this.medStCodigo = medStCodigo;
    }

    public String getPacStRG() {
        return pacStRG;
    }

    public void setPacStRG(String pacStRG) {
        this.pacStRG = pacStRG;
    }

    public String getPclStCodigo() {
        return pclStCodigo;
    }

    public void setPclStCodigo(String pclStCodigo) {
        this.pclStCodigo = pclStCodigo;
    }

    public String getProcStCodigoAmb() {
        return procStCodigoAmb;
    }

    public void setProcStCodigoAmb(String procStCodigoAmb) {
        this.procStCodigoAmb = procStCodigoAmb;
    }

    public String getTexBlDescricao() {
        return texBlDescricao;
    }

    public void setTexBlDescricao(String texBlDescricao) {
        this.texBlDescricao = texBlDescricao;
    }

    public String getTexStCodigo() {
        return texStCodigo;
    }

    public void setTexStCodigo(String texStCodigo) {
        this.texStCodigo = texStCodigo;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final PacienteLaudosProteu other = (PacienteLaudosProteu) obj;
        if ((this.pclStCodigo == null) ? (other.pclStCodigo != null) : !this.pclStCodigo.equals(other.pclStCodigo)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 67 * hash + (this.pclStCodigo != null ? this.pclStCodigo.hashCode() : 0);
        return hash;
    }



}
